export const config = function config() {
    return {
        tooltip: {
            trigger: 'item'
        },

        series: [
            {
                type: 'pie',
                radius: ['55%', '70%'],
                avoidLabelOverlap: false,
                label: {
                    show: true,
                    position: 'center',
                    color: "#4FF778",
                    fontSize: '12',
                },
                labelLine: {
                    show: true
                },
                data: [
                    {
                        // value: 1048,
                        // name: '1048' + "\n" + "累计确诊",
                        itemStyle: {
                            // color: new this.$echarts.graphic.LinearGradient(0, 1, 0, 0, [
                            //     {
                            //         offset: 0,
                            //         color: "#5cabeb",
                            //     },
                            //     {
                            //         offset: 1,
                            //         color: "#e43e30",
                            //     },
                            // ]),
                        },
                    }
                ],
                hoverAnimation: false,
                labelLine: {
                    show: false, //隐藏指示线
                },
            }
        ]
    };
}